package com.pth.dao;

import java.util.List;

import com.pth.model.Message;

public interface MessageDAO {

	public void save(Message message);
	
	public List<Message> getAllMessages(final int pagesize,final int offset);
	
	public int getAllNum();
	
	public Message getMessageByid(int id);
	
}
